# -*- coding:utf-8 -*-
# @Time :2025/3/7

'''
断言工具类
'''
def assert_code(rsp, status_code, status, msg):
    assert rsp.status_code == status_code
    assert rsp.json()['status'] == status
    assert msg in rsp.json()['msg']

